Platform independent session player

ABSTRACT

The subject technology receives, from a first client device, a set of requests for recording user activity detected on a mobile application executing on the first client device, wherein each request includes information corresponding to a set of events based on the user activity that has occurred on the mobile application. The subject technology determines that a first request from the set of requests includes a hash of an asset to be rendered by a session player application. The subject technology performs a set of operations to transform the hash of the asset to a format compatible with the session player application. The subject technology provides the transformed hash in a node of a document object model to the session player application to retrieve the asset.

PRIORITY CLAIM

This application claims the benefit of priority of U.S. ProvisionalPatent Application No. 63/336,687, filed Apr. 29, 2022, which is herebyincorporated by reference herein in its entirety for all purposes.

BACKGROUND

The Internet is a collection of disparate computer systems which use acommon protocol to communicate with each other. A common use of theInternet is to access World Wide Web (web) pages. Web pages aretypically stored on a server and remotely accessed by a client over theInternet using a web browser.

To increase user visitations and revenue, websites have become verysophisticated. Websites typically include web pages that provideinformation to users, advertise products or services to users and/orprovide site search functions for users. A problem for website owners ishow to determine how successful the website is, for example, whether theinformational or other needs of users are met and whether the users arepurchasing goods and services advertised on their site.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

In the drawings, which are not necessarily drawn to scale, like numeralsmay describe similar components in different views. To easily identifythe discussion of any particular element or act, the most significantdigit or digits in a reference number refer to the figure number inwhich that element is first introduced. Some nonlimiting examples areillustrated in the figures of the accompanying drawings in which:

FIG. 1 is a diagrammatic representation of a networked environment inwhich the present disclosure may be deployed, in accordance with someexamples.

FIG. 2 is a diagrammatic representation of an experience analyticssystem, in accordance with some examples, that has both client-side andserver-side functionality.

FIG. 3 is a diagrammatic representation of a data structure asmaintained in a database, in accordance with some examples.

FIG. 4 illustrates an example of a transformation 402 of an element(s)in accordance with embodiments of the subject technology.

FIG. 5 illustrates an example of a viewgraph as part (e.g., the child)of another viewgraph in accordance with embodiments of the subjecttechnology.

FIG. 6 illustrates an example of a system architecture in accordancewith embodiments of the subject technology.

FIG. 7 illustrates an example of scrolling with absolute positioning inaccordance with some embodiments of the subject technology.

FIG. 8 illustrates example of scrolling with relative positioning inaccordance with some embodiments of the subject technology.

FIG. 9 is an example user interface of a session player that facilitatesplayback of a user session for display on a client device, in accordancewith some embodiments of the subject technology

FIG. 10 is a flowchart for a process, in accordance with some examples.

FIG. 11 is a flowchart for a process, in accordance with some examples.

FIG. 12 is a flowchart for a process, in accordance with some examples.

FIG. 13 is a flowchart for a process, in accordance with some examples.

FIG. 14 is a diagrammatic representation of a machine in the form of acomputer system within which a set of instructions may be executed forcausing the machine to perform any one or more of the methodologiesdiscussed herein, in accordance with some examples.

FIG. 15 is a block diagram showing a software architecture within whichexamples may be implemented.

DETAILED DESCRIPTION

Embodiments of the subject technology described herein providetechniques for recording user activity (events, and the like) on mobileapplications to generate session replays that enable playback of suchuser activity on a given client device. Due to inherent differencesbetween different mobile applications and mobile devices that executesuch applications, there could be difficulty in recording user activityin a manner that is performant and scalable.

By providing such playback of user sessions, different insights can bedetermined to facilitate improved debugging of problematic areas of suchmobile applications, identifying areas that could be targeted forimprovements, among other types of insights. It is therefore appreciatedthat improving such areas thereby improves the functionality of acomputer (e.g., the subject system as described further herein) by atleast enabling resolving errors that occur within mobile applicationsthat the subject system performs recording of user activity thereon.

Networked Computing Environment

FIG. 1 is a block diagram showing an example experience analytics system100 that analyzes and quantifies the user experience of users navigatinga client's website, mobile websites, and applications. The experienceanalytics system 100 can include multiple instances of a member clientdevice 102, multiple instances of a customer client device 106, andmultiple instances of a third-party server 108.

The member client device 102 is associated with a client of theexperience analytics system 100 that has a website hosted on by theclient's third-party server 108. For example, the client can be a retailstore that has an online retail web site that is hosted on a third-partyserver 108. An agent of the client (e.g., a web administrator, anemployee, etc.) can be the user of the member client device 102.

Each of the member client devices 102 hosts a number of applications,including an experience analytics client 104. Each experience analyticsclient 104 is communicatively coupled with an experience analyticsserver 116 and third-party servers 108 via a network 110 (e.g., theInternet). An experience analytics client 104 can also communicate withlocally-hosted applications using Applications Program Interfaces(APIs).

The member client devices 102 and the customer client devices 106 canalso host a number of applications including Internet browsingapplications (e.g., Chrome, Safari, etc.). The experience analyticsclient 104 can also be implemented as a platform that is accessed by themember client device 102 via an Internet browsing application orimplemented as an extension on the Internet browsing application.

Users of the customer client device 106 can access client's websitesthat are hosted on the third-party servers 108 via the network 110 usingthe Internet browsing applications. For example, the users of thecustomer client device 106 can users navigating a client's online retailwebsite to purchase goods or services from the website. While the userof the customer client device 106 is navigating the client's website onan Internet browsing application, the Internet browsing application onthe customer client device 106 can also execute a client-side script(e.g., JavaScript (.*js)) such as an experience analytics script 122. Inone example, the experience analytics script 122 is hosted on thethird-party server 108 with the client's website and processed by theInternet browsing application on the customer client device 106. Theexperience analytics script 122 can incorporate a scripting language(e.g., a .*js file or a .json file).

In certain examples, a client's native application (e.g., ANDROID™ orIOS™ Application) is downloaded on the customer client device 106. Inthis example, the client's native application including the experienceanalytics script 122 is programmed in JavaScript leveraging a SoftwareDevelopment Kit (SDK) provided by the experience analytics server 116.The SDK includes Application Programming Interfaces (APIs) withfunctions that can be called or invoked by the client's nativeapplication.

In one example, the experience analytics script 122 records dataincluding the changes in the interface of the website being displayed onthe customer client device 106, the elements on the website beingdisplayed or visible on the interface of the customer client device 106,the text inputs by the user into the website, a movement of a mouse (ortouchpad or touch screen) cursor and mouse (or touchpad or touch screen)clicks on the interface of the website, etc. The experience analyticsscript 122 transmits the data to experience analytics server 116 via thenetwork 110. In another example, the experience analytics script 122transmits the data to the third-party server 108 and the data can betransmitted from the third-party server 108 to the experience analyticsserver 116.

An experience analytics client 104 is able to communicate and exchangedata with the experience analytics server 116 via the network 110. Thedata exchanged between the experience analytics client 104 and theexperience analytics server 116, includes functions (e.g., commands toinvoke functions) as well as payload data (e.g., website data, textsreporting errors, insights, merchandising information, adaptabilityinformation, images, graphs providing visualizations of experienceanalytics, session replay videos, zoning and overlays to be applied onthe website, etc.).

The experience analytics server 116 supports various services andoperations that are provided to the experience analytics client 104.Such operations include transmitting data to and receiving data from theexperience analytics client 104. Data exchanges to and from theexperience analytics server 116 are invoked and controlled throughfunctions available via user interfaces (UIs) of the experienceanalytics client 104.

The experience analytics server 116 provides server-side functionalityvia the network 110 to a particular experience analytics client 104.While certain functions of the experience analytics system 100 aredescribed herein as being performed by either an experience analyticsclient 104 or by the experience analytics server 116, the location ofcertain functionality either within the experience analytics client 104or the experience analytics server 116 may be a design choice. Forexample, it may be technically preferable to initially deploy certaintechnology and functionality within the experience analytics server 116but to later migrate this technology and functionality to the experienceanalytics client 104 where a member client device 102 has sufficientprocessing capacity.

Turning now specifically to the experience analytics server 116, anApplication Program Interface (API) server 114 is coupled to, andprovides a programmatic interface to, application servers 112. Theapplication servers 112 are communicatively coupled to a database server118, which facilitates access to a database 300 that stores dataassociated with experience analytics processed by the applicationservers 112. Similarly, a web server 120 is coupled to the applicationservers 112, and provides web-based interfaces to the applicationservers 112. To this end, the web server 120 processes incoming networkrequests over the Hypertext Transfer Protocol (HTTP) and several otherrelated protocols.

In an embodiment, a storage platform can provide database server 118 anddatabase server 118 includes multiple data storage devices (which maynot be hosted by experience analytics server 116). In some embodiments,the data storage devices are cloud-based storage devices located in oneor more geographic locations. For example, the data storage devices maybe part of a public cloud infrastructure or a private cloudinfrastructure. The data storage devices may be hard disk drives (HDDs),solid state drives (SSDs), storage clusters, AMAZON S3 storage systemsor any other data storage technology. Additionally, the aforementionedstorage platform may implement distributed file systems (such as HadoopDistributed File Systems (HDFS)), object storage systems, and the like.

The API server 114 receives and transmits message data (e.g., commandsand message payloads) between the member client device 102 and theapplication servers 112. Specifically, the API server 114 provides a setof interfaces (e.g., routines and protocols) that can be called orqueried by the experience analytics client 104 or the experienceanalytics script 122 in order to invoke functionality of the applicationservers 112. The API server 114 exposes to the experience analyticsclient 104 various functions supported by the application servers 112,including generating information on errors, insights, merchandisinginformation, adaptability information, images, graphs providingvisualizations of experience analytics, session replay videos, zoningand overlays to be applied on the web site, etc.

The application servers 112 host a number of server applications andsubsystems, including for example an experience analytics server 116.The experience analytics server 116 implements a number of dataprocessing technologies and functions, particularly related to theaggregation and other processing of data including the changes in theinterface of the website being displayed on the customer client device106, the elements on the website being displayed or visible on theinterface of the customer client device 106, the text inputs by the userinto the website, a movement of a mouse (or touchpad) cursor and mouse(or touchpad) clicks on the interface of the website, etc. received frommultiple instances of the experience analytics script 122 on customerclient devices 106. The experience analytics server 116 implementsprocessing technologies and functions, related to generating userinterfaces including information on errors, insights, merchandisinginformation, adaptability information, images, graphs providingvisualizations of experience analytics, session replay videos, zoningand overlays to be applied on the website, etc. Other processor andmemory intensive processing of data may also be performed server-side bythe experience analytics server 116, in view of the hardwarerequirements for such processing.

System Architecture

FIG. 2 is a block diagram illustrating further details regarding theexperience analytics system 100 according to some examples.Specifically, the experience analytics system 100 is shown to comprisethe experience analytics client 104 and the experience analytics server116. The experience analytics system 100 embodies a number ofsubsystems, which are supported on the client-side by the experienceanalytics client 104 and on the server-side by the experience analyticsserver 116. These subsystems include, for example, a data managementsystem 202, a data analysis system 204, a zoning system 206, a sessionreplay system 208, a journey system 210, a merchandising system 212, anadaptability system 214, an insights system 216, an errors system 218,and an application conversion system 220.

The data management system 202 is responsible for receiving functions ordata from the member client devices 102, the experience analytics script122 executed by each of the customer client devices 106, and thethird-party servers 108. The data management system 202 is alsoresponsible for exporting data to the member client devices 102 or thethird-party servers 108 or between the systems in the experienceanalytics system 100. The data management system 202 is also configuredto manage the third-party integration of the functionalities ofexperience analytics system 100.

The data analysis system 204 is responsible for analyzing the datareceived by the data management system 202, generating data tags,performing data science and data engineering processes on the data.

The zoning system 206 is responsible for generating a zoning interfaceto be displayed by the member client device 102 via the experienceanalytics client 104. The zoning interface provides a visualization ofhow the users via the customer client devices 106 interact with eachelement on the client's website. The zoning interface can also providean aggregated view of in-page behaviors by the users via the customerclient device 106 (e.g., clicks, scrolls, navigation). The zoninginterface can also provide a side-by-side view of different versions ofthe client's website for the client's analysis. For example, the zoningsystem 206 can identify the zones in a client's website that areassociated with a particular element in displayed on the website (e.g.,an icon, a text link, etc.). Each zone can be a portion of the websitebeing displayed. The zoning interface can include a view of the client'swebsite. The zoning system 206 can generate an overlay including datapertaining to each of the zones to be overlaid on the view of theclient's website. The data in the overlay can include, for example, thenumber of views or clicks associated with each zone of the client'swebsite within a period of time, which can be established by the user ofthe member client device 102. In one example, the data can be generatedusing information from the data analysis system 204.

The session replay system 208 is responsible for generating the sessionreplay interface to be displayed by the member client device 102 via theexperience analytics client 104. The session replay interface includes asession replay that is a video reconstructing an individual visitorsession on the client's website. For example, a user visiting theclient's website on a customer client device 106 can be reconstructedfrom the data received from the user's experience analytics script 122on customer client devices 106. The session replay interface can alsoinclude the session replays of a number of different visitor sessions tothe client's website within a period of time (e.g., a week, a month, aquarter, etc.). The session replay interface allows the client via themember client device 102 to select and view each of the session replays.In one example, the session replay interface can also include anidentification of events (e.g., failed conversion, angry customers,errors in the website, recommendations or insights) that are displayedand allow the user to navigate to the part in the session replaycorresponding to the events such that the client can view and analyzethe event.

The journey system 210 is responsible for generating the journeyinterface to be displayed by the member client device 102 via theexperience analytics client 104. The journey interface includes avisualization of how the visitors progress through the client's website,page-by-page, from entry onto the website to the exit (e.g., in asession). The journey interface can include a visualization thatprovides a customer journey mapping (e.g., sunburst visualization). Thisvisualization aggregates the data from all of the visitors (e.g., userson different customer client devices 106) to the website, andillustrates the visited pages and in order in which the pages werevisited. The client viewing the journey interface on the member clientdevice 102 can identify anomalies such as looping behaviors andunexpected drop-offs. The client viewing the journey interface can alsoassess the reverse journeys (e.g., pages visitors viewed before arrivingat a particular page). The journey interface also allows the client toselect a specific segment of the visitors to be displayed in thevisualization of the customer journey.

The merchandising system 212 is responsible for generating themerchandising interface to be displayed by the member client device 102via the experience analytics client 104. The merchandising interfaceincludes merchandising analysis that provides the client with analyticson: the merchandise to be promoted on the website, optimization of salesperformance, the items in the client's product catalog on a granularlevel, competitor pricing, etc. The merchandising interface can, forexample, comprise graphical data visualization pertaining to productopportunities, category, brand performance, etc. For instance, themerchandising interface can include the analytics on a conversions(e.g., sales, revenue) associated with a placement or zone in the clientwebsite.

The adaptability system 214 is responsible for creating accessibledigital experiences for the client's web site to be displayed by thecustomer client devices 106 for users' that would benefit from anaccessibility-enhanced version of the client's website. For instance,the adaptability system 214 can improve the digital experience for userswith disabilities, such as visual impairments, cognitive disorders,dyslexia, and age-related needs. The adaptability system 214 can analyzethe data from the experience analytics script 122 to determine whetheran accessibility-enhanced version of the client's website is needed andgenerates the accessibility-enhanced version of the client's website tobe displayed by the customer client device 106.

The insights system 216 is responsible for analyzing the data from thedata management system 202 and the data analysis system 204 surfaceinsights that include opportunities as well as issues that are relatedto the client's website. The insights can also include alerts thatnotify the client of deviations from a client's normal business metrics.The insights can be displayed by the member client devices 102 via theexperience analytics client 104 on within a dashboard of a userinterface, as a pop-up element, as a separate panel, etc. In thisexample, the insights system 216 is responsible for generating aninsights interface to be displayed by the member client device 102 viathe experience analytics client 104. In another example, the insightscan be incorporated in another interface such as the zoning interface,the session replay, the journey interface, or merchandising interface tobe displayed by the member client device 102.

The errors system 218 is responsible for analyzing the data from thedata management system 202 and the data analysis system 204 to identifyerrors that are affecting the visitors to the client's website and theimpact of the errors on the client's business (e.g., revenue loss). Theerrors can include the location within the user journey in the websiteand the page that causes frustration to the users (e.g., users oncustomer client devices 106 visiting the client's website). The errorscan also include causes of looping behaviors by the users, in-pageissues such as unresponsive call to actions and slow loading pages, etc.The errors can be displayed by the member client devices 102 via theexperience analytics client 104 on within a dashboard of a userinterface, as a pop-up element, as a separate panel, etc. In thisexample, the errors system 218 is responsible for generating an errorsinterface to be displayed by the member client device 102 via theexperience analytics client 104. In another example, the insights can beincorporated in another interface such as the zoning interface, thesession replay, the journey interface, or merchandising interface to bedisplayed by the member client device 102.

The application conversion system 220 is responsible for the conversionof the functionalities of the experience analytics server 116 asprovided to a client's website to a client's native mobile applications.For instance, the application conversion system 220 generates the mobileapplication version of the zoning interface, the session replay, thejourney interface, merchandising interface, insights interface, anderrors interface to be displayed by the member client device 102 via theexperience analytics client 104. The application conversion system 220generates an accessibility-enhanced version of the client's mobileapplication to be displayed by the customer client devices 106.

As mentioned above, session replay system 208 provides session replay(s)of sessions for a given mobile application that executes on the customerclient device 106. In an embodiment, the session replay system 208enables a session player that provide playback of an entire user sessionfor a particular user. The session player can be accessed by the memberclient device 102 for playback of sessions when the session player isexecuted by the session replay system 208. Alternatively orconjunctively, member client device 102 can execute a session playerlocally which communicates with the session replay system 208 (and, ifneeded, other components of experience analytics system 100) to enableplayback of sessions. In an embodiment, experience analytics client 104,executing on member client device 102, can provide the functionality ofthe aforementioned session player for playback of session(s).

A session replay for a mobile application (e.g., application executingon a mobile device such as a smartphone, and the like) is basically avisualization of a flow of events representing states of screens at agiven moment. The events are regrouped by sessions and sorted by dates(e.g., timestamps). A batch of events are received and session replaysystem 208 can replay the events using a player that performs aconversion of a description of the screen to an HTML document thatchanges for each event received.

The following describes three main aspects for implementing sessionreplay for a mobile application:

-   -   a session replay SDK (e.g., installed on customer client device        106) sends events representing a screen or a part of a screen        for each mutation of those screens, for each client, at a given        moment for a given session to a data transformation (DT)        pipeline (which includes a set of components discussed further        herein)    -   The DT pipeline sorts and regroups those events to have coherent        sessions for each client and make them available to session        replay system 208. In an implementation, DT pipeline (or        components thereof) may be provided by API server 114.    -   The session replay system 208 gets a session (batch of events),        for a given client (e.g., customer client device 106), and        replays it in a session player

The following discussion relates to how sessions and session metadata(e.g., any metadata corresponding to such sessions) are received priorto being transformed into a format for session replay.

In an embodiment, member client device 102 (or experience analyticsserver 116) includes a sessions service (e.g., application that executesin the “background”, or a service that executes on a server or device)that performs operations to fetch metadata and events for sessions thatoccur in a mobile application executing on the customer client device106. In an implementation, customer client device 106 includes asoftware development kit (SDK), which may be utilized by the sessionsservice, that sends events and associated metadata to session replaysystem 208 (or another appropriate component of experience analyticsserver 116 such as API server 114). When a session is recorded using theSDK (referred to herein as “session replay SDK”), the following is beingsent to a DT pipeline through a specific endpoint (e.g., experienceanalytics server 116): one screen, multiple requests, each one being abatch of a number of events (e.g., 50). Each request includes a payloadcontaining a batch of events (e.g., 50) that is sent through an arraydata structure for the screen and for the session. Since there can bemultiple requests sent for a given screen, the endpoint receives anotherparameter that allows classifying the batches of events in order for onescreen (e.g., a parameter ri that goes from 1 to n, where n is the totalnumber of batches for one screen). This specific parameter allows the DTpipeline to store, in order, in a cloud storage device or system (e.g.,Amazon S3) the different batches for a given screen so that the eventscan be retrieved in the right order by a session player via an APIprovided by the DT pipeline.

The following is an example of such a request as mentioned above:

https://ka123ABC.net/v2/recording-mobile?pid=4567&uu=8E2F9CD7-F406-4917-906D-80FB6248BB3A&sn=3&pn=8&ri=4&v=4.3.1&rt=5

The above request has a payload including a batch of events (50) sentthrough an array for the screen pn=8, for the session sn=3.

The following shows an example of a payload: the payload (body) includesraw data that can be stored on a cloud storage system (e.g., Amazon S3,and the like), the metadata is sent via the query parameters of theprevious request as shown in the following:

[{“styleChanges”:{“y”:−387},“type”:3,“recordingId”:−1234582774678010030,“timestampMs”:1624288001536},{“styleChanges”:{“y”:368},“type”:3,“recordingId”:−1234568106901129357,“timestampMs”:1624288001536},{“styleChanges”:{“y”:368},“type”:3,“recordingId”:1234593835134554087,“timestampMs”:1624288001536}, {“styleChanges”:{“y”:152},“type”:3,“recordingId”:−1234505634075608520,“timestampMs”:1624288001536},{“styleChanges”:{“y”:402},“type”:3,“recordingId”:−1234547542264388180,“timestampMs”:1624288001536},...

In an embodiment, after storing data in the cloud storage system, thedata is available immediately dependent on a time for completing astorage or write operation(s) by the cloud storage system. For example,experience analytics server 116 (or API server 114, or another endpoint)can retrieve files from the cloud storage system that correspond to thedifferent batches of events sent previously for a given screen of themobile application.

The following is an example of a request to retrieve data stored in thecloud storage system:

GET https://hpgm123ABC.io/session-replay/v1/projects/4567/getPayloadsForPageview?&userIdHashed=12345592578362406478&pageNumber=14&sessionNumber=1

In the above example, pageNumber matches the pn param from the previousSDK request, sessionNumber matches the sn param from the previoussession replay SDK request, and userIdHashed is determined from the uuparam from the previous session replay SDK request (e.g., it is the sameID but hashed).

The above will provide an array including the batches of events for agiven user, given session and a given screen of this session. From thisinformation, a session can be replayed after undergoing transformationand replay operations that will be discussed further below.

With the previous request(s) sending data, after all batches have beenstored in the cloud storage system, DT pipeline determines, from thetimestamps of the events that have been sent, a set of durations ofscreenviews and sessions. The set of durations are then stored (e.g., byexperience analytics server 116, or API server 114, or anothercomponent) in local storage (e.g., database 300) along with metadatarelated to an OS version, application version of the device (e.g.,customer client device 106) collecting the data, and a screen name willbe stored for each screen of the session.

The following is an example of a request for metadata:

POST https://hpgm123ABC.io/session-replay/v1/projects/4567/listPagesForSession{“isMobile”:true,“userIdHashed”:“12345592578362408746”,“sessionNumber”:1,“achievedGoals”:[ ],“ excludeGreyRecordings”:false}

From the above, an array describing the screens is returned, and thisdata can be provided for display as shown in the example user interfaceof FIG. 10 discussed further below when listing the sessions andcorresponding screens.

The following an example of a response from the above request formetadata:

[ { “userIdHashed”:“12345592578362408746”, “numberOfTriggeredEvents”:0,“sessionNumber”:1, “pageNumber”:1, “recordingOrigin”:“Unknown”,“viewDateTime”:“2021-05-31T16:31:33Z”, “durationMs”:9761, “deviceId”:4,“height”:667, “width”:375, “path”:“home page”, “fullUrl”:“app-ios://uisplitviewcontrollerbuildinfobar?title=home% 20page”,“greyRecordingReason”:1, “hasPlaybackRecorded”:2,“engagementDurationMs”:0 }, { “userIdHashed”:“12345592578362408746”,“numberOfTriggeredEvents”:0, “sessionNumber”:1, “pageNumber”:2,“recordingOrigin”:“Unknown”, “viewDateTime”:“2021-05-31T16:31:44Z”,“durationMs”:3068, “deviceId”:4, “height”:667, “width”:375,“path”:“debugflags”, “fullUrl”:“appios://uisplitviewcontroller_uisplitviewcontrollerpanelimplview?title=debugflags”, “greyRecordingReason”:1, “hasPlaybackRecorded”:2,“engagementDurationMs”:0 }... ]

The following discussion relates to type of events that are sent by thesession replay SDK on the customer client device 106. In an embodiment,events discussed below can occur after the aforementioned retrieval ofdata by the DT pipeline (e.g., API server 114)

Type of Events

In an implementation, the session replay SDK utilizes the followingformat for an event:

{ type: number, timestampMs: number }

In an implementation, a session player utilizes the following format foran event:

{ type: number, // type of event date: number, // moment where the eventis replayed args: any[ ], // any arguments necessary to replay an event}

To re-use the SDK format for an event, a transformation is performed tobe compatible with the session player format supported by an API of thesession player, which may be provided by API server 114 in animplementation.

Transforming to the Player API

In an example, the following session replay SDK event is received:

{ “type”: 3, // properties mutation “timestampMs”: 1603197494371, thedate when the event is going to be played “recordingId”:1234579321937029000, // the id of element which style is going to change“styleChanges”: { “y”: 460 // a new position vertically for an existingelement in the session } },

The above event is in the list of all events that was received in onescreenview. As referred to herein, the term “screenview” or “screenview” includes information and metadata that can be utilized to generatea particular representation of a mobile application's screen at a timeof an event. When receiving the list of events, subsequently, the eventsare passed to a mobile event transformer service which performs a set ofpre-processing operations. In an implementation, the mobile eventtransformer service iterates on all events once to transform the eventsto the format compatible with a given target API (e.g., the sessionplayer API). In above example, after the transformation, the followingtransformed event can be provided:

{ “type”: 3, “date”: 1603197494371, “args”: [8876779321937029000, {cssText: “top: 460px;” }] }

As seen in the above, the format of the initial event now matches theformat of the API of the player, and the style property of the previousevent has been transformed to a CSS property.

Cache Images

In an embodiment, images are sent as bitmap hashes in a stylingattribute bitmap image (e.g., bitmap image file or format). To improveand reduce data consumption of the session replay SDK, a key hashrepresenting the bitmap image is sent, and the key hash is stored undera bitmap image hash field. After receiving a insertion event with, inthe styling attributes, a bitmap image and a bitmap image hash toidentify it, the session replay SDK sends only the bitmap image hashinformation to avoid sending superfluous data with a repeated bitmapimage each time. The bitmap image with its bitmap image hash is thenstored in memory during a preprocessing phase and each time a bitmapimage hash is encountered in an event, a lookup operation is performedin the cache to get the associated bitmap image.

Thus, when iterating on the list of events during the preprocessingphase, a bitmap image and associated bitmap image hash are stored. Whenperforming the transformation on the second iteration of events,including creating an HTML element corresponding to the SDK mutationthat was sent, the bitmap image is retrieved from the cache to createthe HTML element that will be sent to the session player.

As discussed below in FIG. 4 , a transformation of an event is describedin further detail.

Data Architecture

FIG. 3 is a schematic diagram illustrating database 300, which may bestored in the database 300 of the experience analytics server 116,according to certain examples. While the content of the database 300 isshown to comprise a number of tables, it will be appreciated that thedata could be stored in other types of data structures (e.g., as anobject-oriented database).

The database 300 includes a data table 302, a session table 304, azoning table 306, an error table 310, an insights table 312, amerchandising table 314, and a journeys table 308.

The data table 302 stores data regarding the websites and nativeapplications associated with the clients of the experience analyticssystem 100. The data table 302 can store information on the contents ofthe website or the native application, the changes in the interface ofthe web site being displayed on the customer client device 106, theelements on the web site being displayed or visible on the interface ofthe customer client device 106, the text inputs by the user into thewebsite, a movement of a mouse (or touchpad or touch screen) cursor andmouse (or touchpad or touch screen) clicks on the interface of thewebsite, etc. The data table 302 can also store data tags and results ofdata science and data engineering processes on the data. The data table302 can also store information such as the font, the images, the videos,the native scripts in the website or applications, etc.

The session table 304 stores session replays for each of the client'swebsites and native applications.

The zoning table 306 stores data related to the zoning for each of theclient's websites and native applications including the zones to becreated and the zoning overlay associated with the websites and nativeapplications.

The journeys table 308 stores data related to the journey of eachvisitor to the client's website or through the native application.

The error table 310 stores data related to the errors generated by theerrors system 218 and the insights table 312 stores data related to theinsights generated by the insights table 312.

The merchandising table 314 stores data associated with themerchandising system 212. For example, the data in the merchandisingtable 314 can include the product catalog for each of the clients,information on the competitors of each of the clients, the dataassociated with the products on the websites and applications, theanalytics on the product opportunities and the performance of theproducts based on the zones in the website or application, etc.

In an embodiment, a storage platform can provide database 300 where thedata is stored on multiple data storage devices (which may not be hostedby experience analytics server 116). As mentioned before, such datastorage devices can be cloud-based storage devices located in one ormore geographic locations, such as AMAZON S3 storage systems or anyother data storage technology.

In an implementation, payload data (as discussed in FIG. 2 ) that isstored in a cloud storage system (e.g., AMAZON S3) is availableimmediately (e.g., because such data is stored as it is in S3, and thetime to store it is dependent on the time of writing a file on AMAZONS3).

The following discussion relates to a dictionary of events.

Mutation Insert

A mutation insert is a type of event that includes a description of thescreen as JavaScript Object Notation (JSON) with its style features(e.g., position, width, height, background, image, and the like). In animplementation, an initial mutation insert event includes a full tree ofelements of a first screen. Subsequently, there will be same event typeswith portions of the screen to be replayed in a specific position of thescreen.

The following is an example of a mutation insert:

{ “type”: 1, “timestampMs”: 1603197474255, “parentId”:−2066894611758410200, “indexInParent”: 23, “view”: { “metadata”: { },“id”: “_UIScrollViewScrollIndicator_589741209”, “style”: { “alpha”: 0,“x”: 0, “height”: 0, “y”: 64, “bmp”: <a bitmap hash>, “bmpHash”: <thekey identifying the hash> “clipChildren”: false, “width”: 0, “bg”:“#00000000”, “cornerRadius”: 0, “blur”: false, “visibility”: true },“recordingId”: −1234507227332606500, “children”: [ { “metadata”: { },“id”: “UIView_279702121”, “style”: { “alpha”: 1, “x”: 0, “height”: 0,“y”: 64, “clipChildren”: false, “width”: 0, “bg”: “#7FFFFFFF”,“cornerRadius”: 0, “blur”: false, “visibility”: true }, “recordingId”:−1234570784047969000, “children”: [ ], “format”: 1 } ], “format”: 1 } },

FIG. 4 illustrates an example of a transformation 402 of an element(s)in accordance with embodiments of the subject technology. Such atransformation(s) and related operations can be implemented by a set ofcomponents that is referred to, collectively, as a data transformationpipeline (DT pipeline or simply “DT”).

In the example of FIG. 4 , having the style features of each element ofa screen is important since each element can be displayed accordingly ina session replay. In an implementation, when the session player isexecuted, the elements are required to be replayed as HTML elements inan inline frame (iframe), which necessitates a transformation of suchelements to HTML elements which is illustrated in FIG. 4 .

As mentioned herein, the term “screengraph” or “screen graph” refers toa data structure with a set of nodes, and includes a full description ofa screen on the session replay SDK side that undergoes transformationfor including in a session replay. In the session replay, thescreengraph will be the initial event of a mutation insert representingthe full screen at the beginning of the session.

Further, common or subsequent mutation insert events (e.g., not theinitial mutation insert event) are fragments of screengraphs. Eachfragment of a screengraph is unserialized (e.g., using a screengraphunserializer component referred to herein as an “unserializer”) andtransformed as HTML elements with CSS representing their styles. Forthose fragments, the transformation needs to know where to place thefragments in a DOM representing the screen during the replay.

The following discussion continues the examples of events.

When a fragment of a screen is received, it is required to know where toperform an insertion in the DOM. In an implementation, in the same eventas a mutation insert, a parentId attribute (parent identifier) and anindexInParent attribute (index in the parent) are included at the samelevel of a viewgraph. As mentioned here, a “viewgraph” or “view graph”refers to a portion or fragment of a screengraph.

In an implementation, a recordingId attribute (e.g., recordingidentifier) is associated to each element of the viewgraph and itschildren. Each element that will be unserialized and replayed in the DOMare stored in a dictionary data structure and indexed by their ownrecordingId.

When a new viewgraph is received, if there is a parentId along with thisone, this parentId will match a previously stored and replayed HTMLelement from a previous mutation insert event. The new viewgraph that isreceived will have to be appended to the parent element matching thisparentId. With the dictionary mentioned before, the parent HTML elementmatching the right parentId can be found, and by using the DOM API'smethods for appending such as appendChild( ) to this parent, the newHTML element from the new viewgraph is placed under the parent one. Inan example, it will be inserted at the first position under the parent,but if an indexInParent along with the parentId are specified, it isknown at which position under the parent where to insert the new HTMLelement.

At this stage, all mutation insert events can be replayed as HTMLelements that are appended sequentially, at the right position, in aniframe with the correct timestamps.

The resulting event that is compatible with the session player isprovided in the following:

{ type: 1, date: 168787328983, args: [node, viewSize, parentId,indedxInParent] }

Mutation Removal

Another type of event that can be received from the session replay SDKremoves a current viewgraph during the session replay. The following isan example of a mutation removal:

{ “type”: 2, “timestampMs”: 1603197474318, “recordingId”:−1234507227332606500 },

In an implementation, to perform the mutation removal, the recordingIdof the viewgraph that was inserted earlier during the replay isrequired.

In an example, using a dictionary data structure mentioned before, it ispossible to receive the HTML element previously generated by theunserialization of a viewgraph sent by a mutation insert. This HTMLelement is the one present in the iframe during the rendering, so bycalling a method remove( ) on this node from the DOM API, we can easilyremove it from the replay frame.

Mutation Style

A mutation style is a type of event includes the recordingId of acurrent viewgraph in the replay frame and the style to modify, which isrepresented in the following example:

{ “type”: 3, “timestampMs”: 1603197494371, “recordingId”:1234579321937029000, “styleChanges”: { “y”: 460 } },

When receiving this event, a transformation of the style can beperformed by generating a string that will be the CSS to assign to thecurrent HTML element representing the viewgraph. In an example, the CSStext is the value of the “style” attribute before on the schema ofunserialization.

Mutation Move

A mutation move is an event is to simulate the fact that a currentexisting view/node has moved in the structure of the screen, which isrepresented in the following example:

{ “type”: 6, “timestampMs”: 1603197494371, “recordingId”:1234579321937029000, “parentId”: 93762947493272947777, “indexInParent”:4 },

This type of event is “lighter” in terms of data consumption on the SDKside and avoids sending an insert after a removal that could be tooconsuming. The recordingId is the ID of the node that is to be moved.The parentId and indexInParent are respectively the new parent andposition under parent of the node to move.

Touch Event

A touch is an event that is sent to display the gestures of the usersthat are collected on the SDK side to see where the user tapped/swipedduring the replay. The format of this event is as follows:

{ “type”: 4, “touchTimestampsMs”: [1603197494371, 1603197494372,1603197494373, 1603197494374] “x”: [0, 5, 10, 15], “y”: [10, 15, 20,25], },

The touchTimestampsMs are the moments matching each coordinates of thefinger sent as arrays of x and y.

On the session player side (or experience analytics server 116), aspecific transformation of this event is performed to create as muchevents as there are coordinates. In the previous example, four eventsare created from the event sent by the session replay SDK). Each eventwill be played at the given timestamp in the touchTimestampMs array.

Resize Event

A resize event is used to illustrate a change of orientation of thedevice during a session, which is shown in the following example:

{ “type”: 9, “timestampMs”: 1603197494371, “width”: 1920, “height”:1080, },

When receiving the above information, the containers of a window (e.g.,an interface area showing a viewport as shown in FIG. 10 ) showing thesession replay are resized accordingly.

Mobile Views

Mobile views are unserialized recursively until the leaves of thescreengraph are reached.

Each child of a mobile view is a viewgraph, as described above.

For each mobile view node of the graph:

-   -   Its text is turned into an HTML text node wrapped in a DIV    -   Its background image is cached and set in the background CSS        property of the resulting node    -   The unserializer detects if the node should be displayed as a        flat placeholder (e.g., Flat background color+single placeholder        text node inside)    -   The HTML embedded directly in the node is just pasted as the        content of an iframe.

WebView Containers

-   -   WebView containers' content is unserialized like mobile views        and then set as the content of an iframe element.    -   The session replay SDK optionally provides the number of lines        the given WebView container must span. If this number is 0, the        resulting iframe will just fit its content.    -   If the WebView container is empty, a placeholder element is put        in place.

The following is an example of input for a WebView container:

{ “id”: “webView”, “style”: { “height”: 640, “width”: 1080, “x”: 0, “y”:376, “bg”: “#00FFFFFF”, “alpha”: 1, “visibility”: true }, “format”: 2,“metadata”: { “class_name”: “WebView”, “fullpath”:“[root]>LinearLayout:eq(0)>FrameLayout:eq(1) >FitWindowsLinearLayout:eq(0)#action_bar_root>ContentFrameLayout:eq(1) #content>ConstraintLayout:eq(0)>RelativeLayout:eq(1)#fragment_container>ConstraintLayout:eq(0)#webViewContainer>WebView :eq(1)#webView” }, “children”: [ { “nodeType”: 9, “baseURI”: “hello.com”,“format”: 1, “children”: [ { “children”: [ ], “format”: 0, “localName”:“div”, “namespaceURI”: “http://www.w123ABC.org/1999/xhtml”, “nodeType”:1, “tagName”: “DIV” } ] } ] }

The following is an example of output for a WebView container:

{ “attributes”: [ { “name”: “data-id”, “namespaceURI”: “”, “value”:“webView” }, { “name”: “fullpath”, “namespaceURI”: “”, “value”:“[root]>LinearLayout:eq(0)>FrameLayout:eq(1) >FitWindowsLinearLayout:eq(0)#action_bar_root>ContentFrameLayout:eq(1) #content>ConstraintLayout:eq(0)>RelativeLayout:eq(1)#fragment_container>ConstraintLayout:eq(0)#webViewContainer>WebView :eq(1)#webView” }, { “name”: “class”, “namespaceURI”: “”, “value”:“WebView” }, { “name”: “style”, “namespaceURI”: “”, “value”: “position:fixed;display: flex;align-items: center; opacity: 1;top: 376px;left:0px;width: 1080px;height: 640px;clip: rect (auto, auto, auto, auto);” }], “children”: [ ], “contentDocument”: { “nodeType”: 9, “baseURI”:“hello.com”, “format”: 1, “children”: [ { “children”: [ ], “format”: 0,“localName”: “div”, “namespaceURI”: “http://www.w123ABC.org/1999/xhtml”,“nodeType”: 1, “tagName”: “DIV” } ] }, “format”: 0, “localName”:“iframe”, “namespaceURI”: “http://www.w123ABC.org/1999/xhtml”,“nodeType”: 1, “tagName”: “IFRAME” }

Style

The tables below map the properties of the object of the fieldscreengraph.style to the CSS properties used to render the same effectin the session player. In some instances, the term “property” can alsorefer to an “attribute” or “field” as mentioned elsewhere herein, whereeach of the aforementioned terms may be used in a synonymous manner witheach other term.

Position and Shape

Input screengraph style property Output CSS property x (absolute) left y(absolute) top width width height height

Visibility

Input screengraph style property Output CSS property alpha opacityclipChildren clip + CSS function rect( ) visibility display

Text

The object of the field screengraph.style.textInfos.

Input screengraph style property Output CSS property textInfos.alignmenttext-align textInfos.color color textInfos.size font-size contentOffsetXmargin-left contentOffsetY margin-top

Other Style Properties

Input screengraph style property Output CSS property bg background-sizebackground-color cornerRadius border-radius placeholder display overflowbackground color border (or border-top for keyboard placeholders)align-items justify-content font-family font-size shadow box-shadow

Image Handling

The following describes operations for processing images:

-   -   Each image is sent once by the session replay SDK, along with        its related hash.    -   The hash is always provided.    -   The unserializer caches images when images are provided.        -   For each viewgraph, the first thing that is done when            processing its style is checking if it describes an image.            That is, if it includes the field style.bmpHash.        -   If it does, the unserializer looks for the field style.bmp.            If it exists, the bitmap is added to the cache    -   When an image hash is found in the screengraph without its        related image, then the unserializer deduces that it was already        provided earlier and retrieves it from its cache.    -   Usually, when the unserializer fails to retrieve an image from        its cache with a given hash, then it means that there was a        problem is the order the events were sent by the session replay        SDK.    -   Exception: When the value of the given node's field        style.bmpHash is a “placeholder”, the unserializer does not try        to cache and just displays a text node as a placeholder.

The following relates to style for images:

Input screengraph style property Output CSS property bmp background-sizebackground-image: url( )

The following discussion relates to a cache for images.

A session, as referred to herein, is a stream of events whose each eventincludes a viewgraph that can either describe a whole page (e.g. whenopening the app or changing screen), or a just part of a page that wasalready displayed previously and that has been transformed.

In an implementation, a cache for images is a map, which is a member ofthe session replay viewgraph transformer class.

For a session replay that include images to work properly, the sessionreplay uses only one same instance of the unserializer for the wholesession (stream of events).

The following discussion relates to a static resources manager. A staticresources manager enables removal of images from payloads by retrievingthe images through references in a storage device (e.g., cloud storagedevice or system), which would lower an amount of data to be process andforgo operations related to image caching as described above.

FIG. 6 illustrates an example of a system architecture 602 in accordancewith embodiments of the subject technology.

The following discussion relates to aspects of the system architecture602.

In an implementation, the session replay SDK (e.g., shown as includingmobile client in FIG. 6 ) sends assets directly in the payload of thesession replay events, which can be represented by the following:

https://hpgm123ABC.io/session-replay/v1/projects/1923/getPayloadsForPageview?&userIdHashed=1234509107786528310&pageNumber=7&sessionNumber=21

In an implementation, the images are base 64 data that are beinginterpreted during the event transformation as a background-image:url(“data:image/bmp;base64,<base64>”) CSS property. However, in someinstances, this is not good in terms of performance on the datacollection side because a same base64 image is re-sent for each newsession.

To improve performance, reduce storage or memory utilization, and reducenetwork utilization, the following can be provided in some embodiments:

Session Replay SDK:

-   -   1. Assets are sent to another endpoint designated by the DT        pipeline and not in the payload of events    -   2. In the event payload, the session replay SDK sends only an        hash for the asset that will allow fetching this asset by the        session player

DT:

-   -   1. Provide another endpoint for receiving assets, which are to        be sent by session replay SDK

Session Replay System/Session Player:

-   -   1. From the hash received from the SDK payload, construct the        URL that will reach our backend servers that will fetch from a        DT API provided the resource persisted by the session replay SDK        and render it in a frame for display in the session player    -   2. The mechanism uses logic as provided by the Web when it comes        to call a micro-service (discussed further herein) to contact        the DT API and fetch the resources

The following relegates to an implementation of the system architecture602.

Transforming the Hash of an Asset into a Micro-Service URL

For a current style object in each viewgraph node, the session replaySDK sends a hash corresponding to the hash of an asset that is renderedin the session replay. In an example, the following can represent such ahash:

{ format: 0, recordingId: 123454928409284, ... style: { ... bmpHash:‘<the hash of the resource to fetch>’, ... } }

As seen above, a field called bmpHash is used as an image hash to fetchthe corresponding asset in the memory cache.

In an embodiment, this hash is processed to generate a URL that will beused to fetch this asset for the session player. The URL can have thefollowing format:

-   -   /assets?pid=4567&r=cs://<the hash of the resource>

This format matches the URL of the proxy used by a session playerapplication in FIG. 6 that redirects the request to a micro-service thatwill fetch the data in the blob storage (e.g., cloud storage, and thelike) provided by DT through an API that DT provides for the staticresources manager.

In an implementation, the following is performed to transform the URL:

-   -   transform the viewgraph nodes having bmpHash attribute into        <img> with a src attribute containing cs://${bmpHash} needed to        fetch the resource.    -   in the session player, use a NodeTransformer component (e.g., in        FIG. 4 ) at the initialization of a DOMUnserializer component        (e.g., also in FIG. 4 )    -   the role of this NodeTransformer is, during unserialization, to        transform all src attributes in the serialized DOM    -   a URL transformer that utilizes the value of the src attribute        and transforms as:        -   /assets? pid=4567&r=cs://${bmpHash}            Getting the Resource from the DT Static Resource Manager            Using the Micro-Service

In the session player application in FIG. 6 , a URL is generated thatwill be called during the replay targeting the micro-service mentionedabove: /assets? pid=4567&r=cs://${bmpHash}

In an implementation, a switch mechanism is provided in the backend tocheck the domain of the resource URL (the r query parameter) and see ifit is a specific domain (cs://).

The position of an element in the screen can be expressed in twodifferent ways: using relative or absolute positioning.

FIG. 7 illustrates an example 702 of scrolling with absolute positioningin accordance with some embodiments of the subject technology.

In an example, using relative positioning the SDK sends the position ofeach element relative to the parent. Using absolute positioning the SDKsends the position relative to the viewport. An advantage with relativepositioning is that the number of events to send for specific scenariosis greatly reduced, for example during a page scroll.

-   -   Relative positioning: express the position of an element        relative to the parent    -   Absolute position: express the position of an element relative        to the viewport    -   The main benefit is related to how to handle a page scroll.        Using relative position, scrolling a view can be represented        with a single event. With absolute position, it is necessary to        resend the position of all the elements every time they move.

Relative Vs Absolute Position

Changing from absolute to relative positioning does not involve a lot ofchanges in how the elements are rendered in the session player. Thebehavior of position: absolute is similar to position: relative. Inparticular, an only change needed when switching from absolute torelative position is changing the position of the element as follows:

-   -   from position: fixed to position: absolute

A position: fixed element is positioned relative to the viewport, or thebrowser window itself.

A position: absolute element is positioned relative to the window orfirst parent with position: absolute or position: relative.

A relevant difference between the two position systems discussed aboveis how to handle scrolling.

Scroll with Absolute Positioning

With absolute positioning, each time the page is scrolled, the sessionreplay SDK sends an event for each element that has moved. For example,a list with 4 elements would require resending the position of everyelement.

FIG. 8 illustrates example 802 of scrolling with relative positioning inaccordance with some embodiments of the subject technology.

Scroll with Relative Positioning (Content-Offset)

With relative position, elements inside a scrolling container are movingall by the same amount, and a scroll can be represented as a singleevent on the scroll container. In order to express that an element isscrolling, a content-offset property is received on the scrollcontainer.

By doing this, one event can be sent to playback the scroll at thesession player, and thereby greatly reduce the number of events.

In an implementation, handling a scroll with relative position requiresdata manipulation, in particular, depending on the event type:

-   -   Type 1 (insert): While transforming the event nodes are        recursively searched for that have a contentOffset property. If        a node is found with such property, it is assumed that this is a        scroll container and the following is performed:        -   Applying the content-offset (margin) to all its children        -   Removing the content offset from the node    -   Type 3 (property mutation): if the property mutation includes a        contentOffset then the content-offset (expressed as margin) is        applied to all the children and the contentOffset is removed        from the parent

Switching Between Relative and Absolute Position

In an implementation, a flag (e.g., attribute or indicator) is utilizedto determine if the position being received from the session replay SDKis relative or absolute.

FIG. 9 is an example user interface 902 of a session player (which isprovided by session replay system 208) that facilitates playback of auser session for display on a client device (e.g., experience analyticsclient 104), in accordance with some embodiments of the subjecttechnology.

As illustrated, user interface 902 includes interface area 904 thatincludes a listing of screens, each including a name of a correspondingscreen, from a session. When a screen is played during session playback,the corresponding screen in the listing will be highlighted in interfacearea 904. The session playback can be paused by selecting a graphicalitem (e.g., the pause button) from interface area 906. In particular,interface area 906 includes a set of playback controls (e.g., play,pause, fast forward, fast reverse, skip forward, skip backward, and thelike).

As further shown, interface area 910 represents a viewport of thecurrently playing (or selected) screen from the user's session.

As also shown, interface area 908 includes a selectable representationof a timeline corresponding to the session playback which can includegraphical indicators of the events shown in interface area 908.

Process

Although the described flowcharts can show operations as a sequentialprocess, many of the operations can be performed in parallel orconcurrently. In addition, the order of the operations may bere-arranged. A process is terminated when its operations are completed.A process may correspond to a method, a procedure, an algorithm, etc.The operations of methods may be performed in whole or in part, may beperformed in conjunction with some or all of the operations in othermethods, and may be performed by any number of different systems, suchas the systems described herein, or any portion thereof, such as aprocessor included in any of the systems.

FIG. 10 is a schematic diagram illustrating a process 1000, inaccordance with embodiments of the subject technology.

In block 1002, experience analytics server 116 receives, from a firstclient device, a set of requests for recording user activity detected ona mobile application. In block 1004, experience analytics server 116sends a first request for storing, at a cloud storage system,information related to the set of requests. In block 1006, experienceanalytics server 116 sends a second request for storing, at a localstorage system. In block 1008, experience analytics server 116 receives,from a session player application, a third request for playing a sessionreplay. In block 1010, experience analytics server 116 sends, to thecloud storage system, a fourth request for information related to theset of events. In block 1012, experience analytics server 116 receives,from the cloud storage system, information related to the set of eventsthat occurred at the mobile application. In block 1014, experienceanalytics server 116 provides for display a representation of a screenof the mobile application.

FIG. 11 is a schematic diagram illustrating a process 1100, inaccordance with embodiments of the subject technology.

In block 1102, experience analytics server 116 receives, from a firstclient device, a set of requests for recording user activity detected ona mobile application. In block 1104, experience analytics server 116determines that a first request from the set of requests includes animage and a hash of the image. In block 1106, experience analyticsserver 116 stores the image and the hash of the image in a cache. Inblock 1108, experience analytics server 116 determines that a secondrequest from the set of requests includes the hash of the image. Inblock 1110, experience analytics server 116 retrieves, based on the hashof the image, the image from the cache. In block 1112, experienceanalytics server 116 generates a markup language element based at leastin part on the retrieved image from the cache.

FIG. 12 is a schematic diagram illustrating a process 1200, inaccordance with embodiments of the subject technology.

In block 1202, experience analytics server 116 receives, from a firstclient device, a set of requests for recording user activity detected ona mobile application. In block 1204, experience analytics server 116determines that a first request from the set of requests includes achange in position for an element of a screen. In block 1206, experienceanalytics server 116 determines a previous timestamp of a set ofprevious properties including a previous change in position for theelement. In block 1208, experience analytics server 116 determines atransition time between a current timestamp and the previous timestamp.In block 1210, experience analytics server 116 generates, using a stylesheet language, a linear transition based at least in part on thetransition time. In block 1212, experience analytics server 116 adds thelinear transition to a style of a markup language element correspondingto the element.

FIG. 13 is a schematic diagram illustrating a process 1300, inaccordance with embodiments of the subject technology.

In block 1302, experience analytics server 116 receives, from a firstclient device, a set of requests for recording user activity detected ona mobile application. In block 1304, experience analytics server 116determines that a first request from the set of requests includes a hashof an asset. In block 1306, experience analytics server 116 performs aset of operations to transform the hash of the asset to a formatcompatible with the session player application. In block 1308,experience analytics server 116 provides the transformed hash in a nodeof a document object model to the session player application to retrievethe asset.

Machine Architecture

FIG. 14 is a diagrammatic representation of the machine 1400 withinwhich instructions 1410 (e.g., software, a program, an application, anapplet, an application, or other executable code) for causing themachine 1400 to perform any one or more of the methodologies discussedherein may be executed. For example, the instructions 1410 may cause themachine 1400 to execute any one or more of the methods described herein.The instructions 1410 transform the general, non-programmed machine 1400into a particular machine 1400 programmed to carry out the described andillustrated functions in the manner described. The machine 1400 mayoperate as a standalone device or may be coupled (e.g., networked) toother machines. In a networked deployment, the machine 1400 may operatein the capacity of a server machine or a client machine in aserver-client network environment, or as a peer machine in apeer-to-peer (or distributed) network environment. The machine 1400 maycomprise, but not be limited to, a server computer, a client computer, apersonal computer (PC), a tablet computer, a laptop computer, a netbook,a set-top box (STB), a personal digital assistant (PDA), anentertainment media system, a cellular telephone, a smartphone, a mobiledevice, a wearable device (e.g., a smartwatch), a smart home device(e.g., a smart appliance), other smart devices, a web appliance, anetwork router, a network switch, a network bridge, or any machinecapable of executing the instructions 1410, sequentially or otherwise,that specify actions to be taken by the machine 1400. Further, whileonly a single machine 1400 is illustrated, the term “machine” shall alsobe taken to include a collection of machines that individually orjointly execute the instructions 1410 to perform any one or more of themethodologies discussed herein. The machine 1400, for example, maycomprise the member client device 102 or any one of a number of serverdevices forming part of the experience analytics server 116. In someexamples, the machine 1400 may also comprise both client and serversystems, with certain operations of a particular method or algorithmbeing performed on the server-side and with certain operations of theparticular method or algorithm being performed on the client-side.

The machine 1400 may include processors 1404, memory 1406, andinput/output I/O components 1402, which may be configured to communicatewith each other via a bus 1440. In an example, the processors 1404(e.g., a Central Processing Unit (CPU), a Reduced Instruction SetComputing (RISC) Processor, a Complex Instruction Set Computing (CISC)Processor, a Graphics Processing Unit (GPU), a Digital Signal Processor(DSP), an Application Specific Integrated Circuit (ASIC), aRadio-Frequency Integrated Circuit (RFIC), another processor, or anysuitable combination thereof) may include, for example, a processor 1408and a processor 1412 that execute the instructions 1410. The term“processor” is intended to include multi-core processors that maycomprise two or more independent processors (sometimes referred to as“cores”) that may execute instructions contemporaneously. Although FIG.14 shows multiple processors 1404, the machine 1400 may include a singleprocessor with a single-core, a single processor with multiple cores(e.g., a multi-core processor), multiple processors with a single core,multiple processors with multiples cores, or any combination thereof.

The memory 1406 includes a main memory 1414, a static memory 1416, and astorage unit 1418, both accessible to the processors 1404 via the bus1440. The main memory 1406, the static memory 1416, and storage unit1418 store the instructions 1410 embodying any one or more of themethodologies or functions described herein. The instructions 1410 mayalso reside, completely or partially, within the main memory 1414,within the static memory 1416, within machine-readable medium 1420within the storage unit 1418, within at least one of the processors 1404(e.g., within the processor's cache memory), or any suitable combinationthereof, during execution thereof by the machine 1400.

The I/O components 1402 may include a wide variety of components toreceive input, provide output, produce output, transmit information,exchange information, capture measurements, and so on. The specific I/Ocomponents 1402 that are included in a particular machine will depend onthe type of machine. For example, portable machines such as mobilephones may include a touch input device or other such input mechanisms,while a headless server machine will likely not include such a touchinput device. It will be appreciated that the I/O components 1402 mayinclude many other components that are not shown in FIG. 14 . In variousexamples, the I/O components 1402 may include user output components1426 and user input components 1428. The user output components 1426 mayinclude visual components (e.g., a display such as a plasma displaypanel (PDP), a light-emitting diode (LED) display, a liquid crystaldisplay (LCD), a projector, or a cathode ray tube (CRT)), acousticcomponents (e.g., speakers), haptic components (e.g., a vibratory motor,resistance mechanisms), other signal generators, and so forth. The userinput components 1428 may include alphanumeric input components (e.g., akeyboard, a touch screen configured to receive alphanumeric input, aphoto-optical keyboard, or other alphanumeric input components),point-based input components (e.g., a mouse, a touchpad, a trackball, ajoystick, a motion sensor, or another pointing instrument), tactileinput components (e.g., a physical button, a touch screen that provideslocation and force of touches or touch gestures, or other tactile inputcomponents), audio input components (e.g., a microphone), and the like.

In further examples, the I/O components 1402 may include biometriccomponents 1430, motion components 1432, environmental components 1434,or position components 1436, among a wide array of other components. Forexample, the biometric components 1430 include components to detectexpressions (e.g., hand expressions, facial expressions, vocalexpressions, body gestures, or eye-tracking), measure biosignals (e.g.,blood pressure, heart rate, body temperature, perspiration, or brainwaves), identify a person (e.g., voice identification, retinalidentification, facial identification, fingerprint identification, orelectroencephalogram-based identification), and the like. The motioncomponents 1432 include acceleration sensor components (e.g.,accelerometer), gravitation sensor components, rotation sensorcomponents (e.g., gyroscope).

The environmental components 1434 include, for example, one or cameras(with still image/photograph and video capabilities), illuminationsensor components (e.g., photometer), temperature sensor components(e.g., one or more thermometers that detect ambient temperature),humidity sensor components, pressure sensor components (e.g.,barometer), acoustic sensor components (e.g., one or more microphonesthat detect background noise), proximity sensor components (e.g.,infrared sensors that detect nearby objects), gas sensors (e.g., gasdetection sensors to detection concentrations of hazardous gases forsafety or to measure pollutants in the atmosphere), or other componentsthat may provide indications, measurements, or signals corresponding toa surrounding physical environment.

With respect to cameras, the member client device 102 may have a camerasystem comprising, for example, front cameras on a front surface of themember client device 102 and rear cameras on a rear surface of themember client device 102. The front cameras may, for example, be used tocapture still images and video of a user of the member client device 102(e.g., “selfies”). The rear cameras may, for example, be used to capturestill images and videos in a more traditional camera mode. In additionto front and rear cameras, the member client device 102 may also includea 360° camera for capturing 360° photographs and videos.

Further, the camera system of a member client device 102 may includedual rear cameras (e.g., a primary camera as well as a depth-sensingcamera), or even triple, quad or penta rear camera configurations on thefront and rear sides of the member client device 102. These multiplecameras systems may include a wide camera, an ultra-wide camera, atelephoto camera, a macro camera and a depth sensor, for example.

The position components 1436 include location sensor components (e.g., aGPS receiver component), altitude sensor components (e.g., altimeters orbarometers that detect air pressure from which altitude may be derived),orientation sensor components (e.g., magnetometers), and the like.

Communication may be implemented using a wide variety of technologies.The I/O components 1402 further include communication components 1438operable to couple the machine 1400 to a network 1422 or devices 1424via respective coupling or connections. For example, the communicationcomponents 1438 may include a network interface component or anothersuitable device to interface with the network 1422. In further examples,the communication components 1438 may include wired communicationcomponents, wireless communication components, cellular communicationcomponents, Near Field Communication (NFC) components, Bluetooth®components (e.g., Bluetooth® Low Energy), Wi-Fi® components, and othercommunication components to provide communication via other modalities.The devices 1424 may be another machine or any of a wide variety ofperipheral devices (e.g., a peripheral device coupled via a USB).

Moreover, the communication components 1438 may detect identifiers orinclude components operable to detect identifiers. For example, thecommunication components 1438 may include Radio Frequency Identification(RFID) tag reader components, NFC smart tag detection components,optical reader components (e.g., an optical sensor to detectone-dimensional bar codes such as Universal Product Code (UPC) bar code,multi-dimensional bar codes such as Quick Response (QR) code, Azteccode, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code, UCC RSS-2Dbar code, and other optical codes), or acoustic detection components(e.g., microphones to identify tagged audio signals). In addition, avariety of information may be derived via the communication components1438, such as location via Internet Protocol (IP) geolocation, locationvia Wi-Fi® signal triangulation, location via detecting an NFC beaconsignal that may indicate a particular location, and so forth.

The various memories (e.g., main memory 1414, static memory 1416, andmemory of the processors 1404) and storage unit 1418 may store one ormore sets of instructions and data structures (e.g., software) embodyingor used by any one or more of the methodologies or functions describedherein. These instructions (e.g., the instructions 1410), when executedby processors 1404, cause various operations to implement the disclosedexamples.

The instructions 1410 may be transmitted or received over the network1422, using a transmission medium, via a network interface device (e.g.,a network interface component included in the communication components1438) and using any one of several well-known transfer protocols (e.g.,hypertext transfer protocol (HTTP)). Similarly, the instructions 1410may be transmitted or received using a transmission medium via acoupling (e.g., a peer-to-peer coupling) to the devices 1424.

Software Architecture

FIG. 15 is a block diagram 1500 illustrating a software architecture1504, which can be installed on any one or more of the devices describedherein. The software architecture 1504 is supported by hardware such asa machine 1502 that includes processors 1520, memory 1526, and I/Ocomponents 1538. In this example, the software architecture 1504 can beconceptualized as a stack of layers, where each layer provides aparticular functionality. The software architecture 1504 includes layerssuch as an operating system 1512, libraries 1510, frameworks 1508, andapplications 1506. Operationally, the applications 1506 invoke API calls1550 through the software stack and receive messages 1552 in response tothe API calls 1550.

The operating system 1512 manages hardware resources and provides commonservices. The operating system 1512 includes, for example, a kernel1514, services 1516, and drivers 1522. The kernel 1514 acts as anabstraction layer between the hardware and the other software layers.For example, the kernel 1514 provides memory management, processormanagement (e.g., scheduling), component management, networking, andsecurity settings, among other functionality. The services 1516 canprovide other common services for the other software layers. The drivers1522 are responsible for controlling or interfacing with the underlyinghardware. For instance, the drivers 1522 can include display drivers,camera drivers, BLUETOOTH® or BLUETOOTH® Low Energy drivers, flashmemory drivers, serial communication drivers (e.g., USB drivers), WI-FI®drivers, audio drivers, power management drivers, and so forth.

The libraries 1510 provide a common low-level infrastructure used by theapplications 1506. The libraries 1510 can include system libraries 1518(e.g., C standard library) that provide functions such as memoryallocation functions, string manipulation functions, mathematicfunctions, and the like. In addition, the libraries 1510 can include APIlibraries 1524 such as media libraries (e.g., libraries to supportpresentation and manipulation of various media formats such as MovingPicture Experts Group-4 (MPEG4), Advanced Video Coding (H.264 or AVC),Moving Picture Experts Group Layer-3 (MP3), Advanced Audio Coding (AAC),Adaptive Multi-Rate (AMR) audio codec, Joint Photographic Experts Group(JPEG or JPG), or Portable Network Graphics (PNG)), graphics libraries(e.g., an OpenGL framework used to render in two dimensions (2D) andthree dimensions (3D) in a graphic content on a display), databaselibraries (e.g., SQLite to provide various relational databasefunctions), web libraries (e.g., WebKit to provide web browsingfunctionality), and the like. The libraries 1510 can also include a widevariety of other libraries 1528 to provide many other APIs to theapplications 1506.

The frameworks 1508 provide a common high-level infrastructure that isused by the applications 1506. For example, the frameworks 1508 providevarious graphical user interface (GUI) functions, high-level resourcemanagement, and high-level location services. The frameworks 1508 canprovide a broad spectrum of other APIs that can be used by theapplications 1506, some of which may be specific to a particularoperating system or platform.

In an example, the applications 1506 may include a home application1536, a contacts application 1530, a browser application 1532, a bookreader application 1534, a location application 1542, a mediaapplication 1544, a messaging application 1546, a game application 1548,and a broad assortment of other applications such as a third-partyapplication 1540. The applications 1506 are programs that executefunctions defined in the programs. Various programming languages can beemployed to create one or more of the applications 1506, structured in avariety of manners, such as object-oriented programming languages (e.g.,Objective-C, Java, or C++) or procedural programming languages (e.g., Cor assembly language). In a specific example, the third-partyapplication 1540 (e.g., an application developed using the ANDROID™ orIOS™ software development kit (SDK) by an entity other than the vendorof the particular platform) may be mobile software running on a mobileoperating system such as IOS™, ANDROID™, WINDOWS® Phone, or anothermobile operating system. In this example, the third-party application1540 can invoke the API calls 1550 provided by the operating system 1512to facilitate functionality described herein.

Glossary

“Carrier signal” refers to any intangible medium that is capable ofstoring, encoding, or carrying instructions for execution by themachine, and includes digital or analog communications signals or otherintangible media to facilitate communication of such instructions.Instructions may be transmitted or received over a network using atransmission medium via a network interface device.

“Client device” refers to any machine that interfaces to acommunications network to obtain resources from one or more serversystems or other client devices. A client device may be, but is notlimited to, a mobile phone, desktop computer, laptop, portable digitalassistants (PDAs), smartphones, tablets, ultrabooks, netbooks, laptops,multi-processor systems, microprocessor-based or programmable consumerelectronics, game consoles, set-top boxes, or any other communicationdevice that a user may use to access a network.

“Communication network” refers to one or more portions of a network thatmay be an ad hoc network, an intranet, an extranet, a virtual privatenetwork (VPN), a local area network (LAN), a wireless LAN (WLAN), a widearea network (WAN), a wireless WAN (WWAN), a metropolitan area network(MAN), the Internet, a portion of the Internet, a portion of the PublicSwitched Telephone Network (PSTN), a plain old telephone service (POTS)network, a cellular telephone network, a wireless network, a Wi-Fi®network, another type of network, or a combination of two or more suchnetworks. For example, a network or a portion of a network may include awireless or cellular network and the coupling may be a Code DivisionMultiple Access (CDMA) connection, a Global System for Mobilecommunications (GSM) connection, or other types of cellular or wirelesscoupling. In this example, the coupling may implement any of a varietyof types of data transfer technology, such as Single Carrier RadioTransmission Technology (1×RTT), Evolution-Data Optimized (EVDO)technology, General Packet Radio Service (GPRS) technology, EnhancedData rates for GSM Evolution (EDGE) technology, third GenerationPartnership Project (3GPP) including 3G, fourth generation wireless (4G)networks, Universal Mobile Telecommunications System (UMTS), High SpeedPacket Access (HSPA), Worldwide Interoperability for Microwave Access(WiMAX), Long Term Evolution (LTE) standard, others defined by variousstandard-setting organizations, other long-range protocols, or otherdata transfer technology.

“Component” refers to a device, physical entity, or logic havingboundaries defined by function or subroutine calls, branch points, APIs,or other technologies that provide for the partitioning ormodularization of particular processing or control functions. Componentsmay be combined via their interfaces with other components to carry outa machine process. A component may be a packaged functional hardwareunit designed for use with other components and a part of a program thatusually performs a particular function of related functions. Componentsmay constitute either software components (e.g., code embodied on amachine-readable medium) or hardware components. A “hardware component”is a tangible unit capable of performing certain operations and may beconfigured or arranged in a certain physical manner. In variousexamples, one or more computer systems (e.g., a standalone computersystem, a client computer system, or a server computer system) or one ormore hardware components of a computer system (e.g., a processor or agroup of processors) may be configured by software (e.g., an applicationor application portion) as a hardware component that operates to performcertain operations as described herein. A hardware component may also beimplemented mechanically, electronically, or any suitable combinationthereof. For example, a hardware component may include dedicatedcircuitry or logic that is permanently configured to perform certainoperations. A hardware component may be a special-purpose processor,such as a field-programmable gate array (FPGA) or an applicationspecific integrated circuit (ASIC). A hardware component may alsoinclude programmable logic or circuitry that is temporarily configuredby software to perform certain operations. For example, a hardwarecomponent may include software executed by a general-purpose processoror other programmable processor. Once configured by such software,hardware components become specific machines (or specific components ofa machine) uniquely tailored to perform the configured functions and areno longer general-purpose processors. It will be appreciated that thedecision to implement a hardware component mechanically, in dedicatedand permanently configured circuitry, or in temporarily configuredcircuitry (e.g., configured by software), may be driven by cost and timeconsiderations. Accordingly, the phrase “hardware component” (or“hardware-implemented component”) should be understood to encompass atangible entity, be that an entity that is physically constructed,permanently configured (e.g., hardwired), or temporarily configured(e.g., programmed) to operate in a certain manner or to perform certainoperations described herein. Considering examples in which hardwarecomponents are temporarily configured (e.g., programmed), each of thehardware components need not be configured or instantiated at any oneinstance in time. For example, where a hardware component comprises ageneral-purpose processor configured by software to become aspecial-purpose processor, the general-purpose processor may beconfigured as respectively different special-purpose processors (e.g.,comprising different hardware components) at different times. Softwareaccordingly configures a particular processor or processors, forexample, to constitute a particular hardware component at one instanceof time and to constitute a different hardware component at a differentinstance of time. Hardware components can provide information to, andreceive information from, other hardware components. Accordingly, thedescribed hardware components may be regarded as being communicativelycoupled. Where multiple hardware components exist contemporaneously,communications may be achieved through signal transmission (e.g., overappropriate circuits and buses) between or among two or more of thehardware components. In examples in which multiple hardware componentsare configured or instantiated at different times, communicationsbetween such hardware components may be achieved, for example, throughthe storage and retrieval of information in memory structures to whichthe multiple hardware components have access. For example, one hardwarecomponent may perform an operation and store the output of thatoperation in a memory device to which it is communicatively coupled. Afurther hardware component may then, at a later time, access the memorydevice to retrieve and process the stored output. Hardware componentsmay also initiate communications with input or output devices, and canoperate on a resource (e.g., a collection of information). The variousoperations of example methods described herein may be performed, atleast partially, by one or more processors that are temporarilyconfigured (e.g., by software) or permanently configured to perform therelevant operations. Whether temporarily or permanently configured, suchprocessors may constitute processor-implemented components that operateto perform one or more operations or functions described herein. As usedherein, “processor-implemented component” refers to a hardware componentimplemented using one or more processors. Similarly, the methodsdescribed herein may be at least partially processor-implemented, with aparticular processor or processors being an example of hardware. Forexample, at least some of the operations of a method may be performed byone or more processors or processor-implemented components. Moreover,the one or more processors may also operate to support performance ofthe relevant operations in a “cloud computing” environment or as a“software as a service” (SaaS). For example, at least some of theoperations may be performed by a group of computers (as examples ofmachines including processors), with these operations being accessiblevia a network (e.g., the Internet) and via one or more appropriateinterfaces (e.g., an API). The performance of certain of the operationsmay be distributed among the processors, not only residing within asingle machine, but deployed across a number of machines. In someexamples, the processors or processor-implemented components may belocated in a single geographic location (e.g., within a homeenvironment, an office environment, or a server farm). In otherexamples, the processors or processor-implemented components may bedistributed across a number of geographic locations.

“Computer-readable storage medium” refers to both machine-storage mediaand transmission media. Thus, the terms include both storagedevices/media and carrier waves/modulated data signals. The terms“machine-readable medium,” “computer-readable medium” and“device-readable medium” mean the same thing and may be usedinterchangeably in this disclosure.

“Ephemeral message” refers to a message that is accessible for atime-limited duration. An ephemeral message may be a text, an image, avideo and the like. The access time for the ephemeral message may be setby the message sender. Alternatively, the access time may be a defaultsetting or a setting specified by the recipient. Regardless of thesetting technique, the message is transitory.

“Machine storage medium” refers to a single or multiple storage devicesand media (e.g., a centralized or distributed database, and associatedcaches and servers) that store executable instructions, routines anddata. The term shall accordingly be taken to include, but not be limitedto, solid-state memories, and optical and magnetic media, includingmemory internal or external to processors. Specific examples ofmachine-storage media, computer-storage media and device-storage mediainclude non-volatile memory, including by way of example semiconductormemory devices, e.g., erasable programmable read-only memory (EPROM),electrically erasable programmable read-only memory (EEPROM), FPGA, andflash memory devices; magnetic disks such as internal hard disks andremovable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks Theterms “machine-storage medium,” “device-storage medium,”“computer-storage medium” mean the same thing and may be usedinterchangeably in this disclosure. The terms “machine-storage media,”“computer-storage media,” and “device-storage media” specificallyexclude carrier waves, modulated data signals, and other such media, atleast some of which are covered under the term “signal medium.”

“Non-transitory computer-readable storage medium” refers to a tangiblemedium that is capable of storing, encoding, or carrying theinstructions for execution by a machine.

“Signal medium” refers to any intangible medium that is capable ofstoring, encoding, or carrying the instructions for execution by amachine and includes digital or analog communications signals or otherintangible media to facilitate communication of software or data. Theterm “signal medium” shall be taken to include any form of a modulateddata signal, carrier wave, and so forth. The term “modulated datasignal” means a signal that has one or more of its characteristics setor changed in such a matter as to encode information in the signal. Theterms “transmission medium” and “signal medium” mean the same thing andmay be used interchangeably in this disclosure.

1. A method, comprising: receiving, from a first client device, a set ofrequests for recording user activity detected on a mobile applicationexecuting on the first client device, wherein each request includesinformation corresponding to a set of events based on the user activitythat has occurred on the mobile application; determining that a firstrequest from the set of requests includes a hash of an asset to berendered by a session player application; performing a set of operationsto transform the hash of the asset to a format compatible with thesession player application; and providing the transformed hash in a nodeof a document object model to the session player application to retrievethe asset.
 2. The method of claim 1, wherein the first request isassociated with a particular recording identifier.
 3. The method ofclaim 1, wherein the asset is retrieved from a cache in memory.
 4. Themethod of claim 1, wherein the session player application sends arequest to a service to retrieve the asset.
 5. The method of claim 4,wherein the request comprises an API call to the service.
 6. The methodof claim 1, wherein performing the set of operations to transform thehash of the asset comprises: transforming a first attributecorresponding to the hash, included in the first request, to an HTML,image tag and a second attribute based on the transformed hash.
 7. Themethod of claim 6, further comprising: performing an unserializingoperation on the document object model.
 8. The method of claim 7,wherein performing the unserializing operation comprises: transformingthe HTML, image tag and the second attribute based on the hash to auniform resource locator (URL) corresponding to the hash.
 9. The methodof claim 8, wherein the session player retrieves the asset using theURL.
 10. The method of claim 8, wherein the URL includes a projectidentifier corresponding to a user.
 11. A system comprising: aprocessor; and a memory storing instructions that, when executed by theprocessor, configure the system to perform operations comprising:receiving, from a first client device, a set of requests for recordinguser activity detected on a mobile application executing on the firstclient device, wherein each request includes information correspondingto a set of events based on the user activity that has occurred on themobile application; determining that a first request from the set ofrequests includes a hash of an asset to be rendered by a session playerapplication; performing a set of operations to transform the hash of theasset to a format compatible with the session player application; andproviding the transformed hash in a node of a document object model tothe session player application to retrieve the asset.
 12. The system ofclaim 11, wherein the first request is associated with a particularrecording identifier.
 13. The system of claim 11, wherein the asset isretrieved from a cache in memory.
 14. The system of claim 11, whereinthe session player application sends a request to a service to retrievethe asset.
 15. The system of claim 14, wherein the request comprises anAPI call to the service.
 16. The system of claim 11, wherein performingthe set of operations to transform the hash of the asset comprises:transforming a first attribute corresponding to the hash, included inthe first request, to an HTML, image tag and a second attribute based onthe transformed hash.
 17. The system of claim 16, wherein the operationsfurther comprise: performing an unserializing operation on the documentobject model.
 18. The system of claim 17, wherein performing theunserializing operation comprises: transforming the HTML image tag andthe second attribute based on the hash to a uniform resource locator(URL) corresponding to the hash.
 19. The system of claim 18, wherein thesession player retrieves the asset using the URL.
 20. The system ofclaim 18, wherein the URL includes a project identifier corresponding toa user.
 21. A non-transitory computer-readable storage medium, thecomputer-readable storage medium including instructions that whenexecuted by a computer, cause the computer to perform operationscomprising: receiving, from a first client device, a set of requests forrecording user activity detected on a mobile application executing onthe first client device, wherein each request includes informationcorresponding to a set of events based on the user activity that hasoccurred on the mobile application; determining that a first requestfrom the set of requests includes a hash of an asset to be rendered by asession player application; performing a set of operations to transformthe hash of the asset to a format compatible with the session playerapplication; and providing the transformed hash in a node of a documentobject model to the session player application to retrieve the asset.22. The non-transitory computer-readable storage medium of claim 21,wherein the first request is associated with a particular recordingidentifier.
 23. The non-transitory computer-readable storage medium ofclaim 21, wherein the asset is retrieved from a cache in memory.
 24. Thenon-transitory computer-readable storage medium of claim 21, wherein thesession player application sends a request to a service to retrieve theasset.
 25. The non-transitory computer-readable storage medium of claim24, wherein the request comprises an API call to the service.
 26. Thenon-transitory computer-readable storage medium of claim 21, whereinperforming the set of operations to transform the hash of the assetcomprises: transforming a first attribute corresponding to the hash,included in the first request, to an HTML, image tag and a secondattribute based on the transformed hash.
 27. The non-transitorycomputer-readable storage medium of claim 26, wherein the operationsfurther comprise: performing an unserializing operation on the documentobject model.
 28. The non-transitory computer-readable storage medium ofclaim 27, wherein performing the unserializing operation comprises:transforming the HTML, image tag and the second attribute based on thehash to a uniform resource locator (URL) corresponding to the hash. 29.The non-transitory computer-readable storage medium of claim 28, whereinthe session player retrieves the asset using the URL.
 30. Thenon-transitory computer-readable storage medium of claim 28, wherein theURL includes a project identifier corresponding to a user.